#!/bin/bash
rm -f compare_rt_independent.dat
rm -f compare_rt_correlated.dat
touch compare_rt_independent.dat
touch compare_rt_correlated.dat

for t in 6461 1755 4755 3257 3967
do
	for ((  i = 1 ;  i <= 10;  i++  ))
	do
		for ((  k = 1 ;  k <= 5;  k++  ))
		do
			s=`compareRoutingTables.py $t.independentfailure$i.graph$k.rt.0.0|grep "Lines not same"|cut -d':' -f3`
			echo $t.independentfailure$i.graph$k	$s >> compare_rt_independent.dat
		

			s=`compareRoutingTables.py $t.correlatedfailure$i.graph$k.rt.0.0|grep "Lines not same"|cut -d':' -f3`	
			echo $t.correlatedfailure$i.graph$k	$s >> compare_rt_correlated.dat
		done
	done
done
